pl@us.ibm.com [Thu, 1 Jun 2006 11:11:59 +0000 (12:11 +0100)]
Fix a problem where the vcpu count for dom0 doesn't get reset back to the
original value when 01_enforce_dom0_cpus_basic_pos fails.
emellor@leeni.uk.xensource.com [Thu, 1 Jun 2006 10:57:33 +0000 (11:57 +0100)]
Reraise exceptions caught in create.py, so that the error handling in main.py
can handle it neatly.
Signed-off-by: Daniel Miles <daniel.t.miles@hp.com>
emellor@leeni.uk.xensource.com [Thu, 1 Jun 2006 10:47:00 +0000 (11:47 +0100)]
Block device write-verify test.
This test imports a ram disk device as a physical device into a domU.
The domU initialises the ram disk with data from /dev/urandom and
calculates the md5 checksum of the data (using tee as it is written so as to
avoid reading it back from the device which might potentially mask
problems).
The domU is stopped and the md5 checksum of the data on the device is
calculated by dom0. The test succeeds if the checksums match, indicating
that all the data written by domU was sucessfully committed to the
device.
This patch also enables tee in BusyBox on the ramdisk and increments the
xm-test version number to 0.8.0.
The patch also installs the block-integrity tests in the default test
set so they get executed.
Signed-off-by: Harry Butterworth <butterwo@uk.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 1 Jun 2006 10:25:02 +0000 (11:25 +0100)]
network-bridge: fix syntax error
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 1 Jun 2006 10:18:26 +0000 (11:18 +0100)]
network-bridge: Fall back to eth0/xenbr0 if no default route.
From: Dave Lively <dave.lively@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 1 Jun 2006 10:04:06 +0000 (11:04 +0100)]
Fix map_pages_to_xen() when deallocating l1 page tables.
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
kfraser@dhcp93.uk.xensource.com [Thu, 1 Jun 2006 09:50:33 +0000 (10:50 +0100)]
[HVM] Fix set_guest_back_ptr to ignore empty PTEs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Thu, 1 Jun 2006 09:34:21 +0000 (10:34 +0100)]
Fix MMU_NORMAL_PT_UPDATE when passed a page that is no longer of type page-table.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Wed, 31 May 2006 22:07:47 +0000 (16:07 -0600)]
[IA64] fix up a few more warnings
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
awilliam@xenbuild.aw [Wed, 31 May 2006 20:34:33 +0000 (14:34 -0600)]
[IA64] remove linux-2.6-xen-sparse/arch/ia64/xen/xenconsole.c
Inline the content of early_console_setup() to setup.c and remove
xenconsole.c
Signed-off-by: Aron Griffis <aron@hp.com>
awilliam@xenbuild.aw [Wed, 31 May 2006 19:05:21 +0000 (13:05 -0600)]
merge with xen-unstable.hg
awilliam@xenbuild.aw [Wed, 31 May 2006 17:30:07 +0000 (11:30 -0600)]
[IA64] Add several missing is_running_on_xen().
Signed-off-by Kevin Tian <kevin.tian@intel.com>
awilliam@xenbuild.aw [Wed, 31 May 2006 17:29:50 +0000 (11:29 -0600)]
[IA64] remaining warnings removed
Warnings cleanup.
-Werror added when no_warns=y
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
awilliam@xenbuild.aw [Wed, 31 May 2006 17:28:03 +0000 (11:28 -0600)]
[IA64] Add sal emulation to VTI domain
Signed-off-by Anthony.xu <anthony.xu@intel.com>
awilliam@xenbuild.aw [Wed, 31 May 2006 17:27:59 +0000 (11:27 -0600)]
[IA64] VTI: Initialize VHPT headers invalid
Signed-off-by: Anthony Xu < anthony.xu@intel.com >
awilliam@xenbuild.aw [Wed, 31 May 2006 17:27:54 +0000 (11:27 -0600)]
[IA64] VTI: set isr before injecting fault to guest
This patch intends to fix isr setting before injecting fault to it.
With this small fix, CPU2000 in VTi can pass now.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
awilliam@xenbuild.aw [Wed, 31 May 2006 17:27:50 +0000 (11:27 -0600)]
[IA64] preparation for vga acceleration of VTI domain
This patch fixes several minor issues, as a prepare step to support VGA
acceleration for VTI domain:
- shared vram buffer needs to be mapped as WB in both sides, because
the shared vram is the true WB memory though VTI domain is told as UC
- Introduced a new pte_mem to indicate p2m entry containing valid mfn
when replace p2m entry. Pte_none doesn't work for VTI case, since IO
type is encoded into p2m entry which however doesn't contain valid mfn.
After above change, guest_physmap_add/remove_page is available to
be used by qemu to setup linear buffer for VTI domain.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
kfraser@dhcp93.uk.xensource.com [Wed, 31 May 2006 14:48:29 +0000 (15:48 +0100)]
Export XEN_ROOT from top-level Makefile. Ensures it is
always defined when including Config.mk.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Wed, 31 May 2006 13:23:00 +0000 (14:23 +0100)]
[SVM] Remove redundant MAX_INST_SIZE definition.
Signed off by: Mats Petersson <mats.petersson@amd.com>
kfraser@dhcp93.uk.xensource.com [Wed, 31 May 2006 12:26:10 +0000 (13:26 +0100)]
Fix ACM hypercall macros (broke the x86/64 and ia64 builds).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@dhcp93.uk.xensource.com [Wed, 31 May 2006 10:31:52 +0000 (11:31 +0100)]
Use a global build configuration file, and rework libxc Makefile for PPC.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 08:30:40 +0000 (09:30 +0100)]
[HVM] Fixes to buffer handling in ne2000 device model.
Signed-off-by: hanzhu <zhu.han@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:48:54 +0000 (07:48 +0100)]
The xm dmesg command wasn't taking the -c/--clear options because of
incorrect values to arg_check(). Patch simply allows for the possible
option with arg_check().
Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:48:00 +0000 (07:48 +0100)]
Update .hgignore list for rombios changes.
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:45:20 +0000 (07:45 +0100)]
[VTPM_TOOLS] Updated vtpm for new release of the tpm_emulator.
New emulator includes AIK, DAA, and Transport Sessions
Signed-off-by: Vinnie Scarlata <Vincent.r.scarlata@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:43:06 +0000 (07:43 +0100)]
[MINIOS] Various address-space fixes.
1. Make Mini-OS start from 0x0.
2. Fixes the pagetable builder to handle half full, but already mapped
pt frames.=20
3. Add a bounds check to ensure than Mini-OS does not try to use Xen
virtual space.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:41:33 +0000 (07:41 +0100)]
[HVMLOADER] Default to 8-way SMP rombios.
From: Thomas Woller <thomas.woller@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:28:43 +0000 (07:28 +0100)]
[SVM] Fix virtualization of the CPUID NX bit, and clean up other CPUID bits.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
Signed-off-by: Wei Huang <wei.huang2@amd.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:25:59 +0000 (07:25 +0100)]
[HVM] Fix shadow mode to not corrupt frame 0's page_info struct.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:23:54 +0000 (07:23 +0100)]
[ACM] Add a hypervisor call macro to the linux kernel; it
completes the alignment of the ACM call interface with the other Xen
hypervisor call interfaces. This macro is used to call from the a guest
kernel directly into the ACM hypervisor module.
Signed-off by: Reiner Sailer <sailer@us.ibm.com>
Signed-off by: Bryan D. Payne <bdpayne@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:20:36 +0000 (07:20 +0100)]
Fix x86/64 definition of dma_get_cache_alignment().
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 30 May 2006 22:47:41 +0000 (23:47 +0100)]
Explicitly use sh to run ioemu configure
instead of relying on configure executable permissions to be set.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 30 May 2006 22:45:28 +0000 (23:45 +0100)]
Explicitly use sh to run mkhex
instead of relying on mkhex executable permissions to be set.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 17:47:37 +0000 (18:47 +0100)]
Fix PAE debug builds to avoid shadowing shadow-mode pgdirs below 4GB.
The current shadow mode is not aware of this extra level of shadowing
and gets rather confused. Furthermore it *always* ensures that its
PAE pgdirs are below 4GB so there is no need for the extra shadowing
logic to be invoked.
This fixes a bug introduced in changeset 10177:
d5f98d23427a0d256b896fc63ccfd2c1f79e55ba
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 17:11:34 +0000 (18:11 +0100)]
Fix infinite recursion loop in get_page_type() error path.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Tue, 30 May 2006 16:32:42 +0000 (10:32 -0600)]
[IA64] clean up ia64 xen-mkbuildtree-pre
xen-mkbuildtree-pre of ia64 clean up.
evtchn_ia64.c doesn't exist now.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Tue, 30 May 2006 16:31:19 +0000 (10:31 -0600)]
[IA64] use is_running_on_xen()
Now xen drivers use is_running_on_xen() to check whether it runs on
xen or bare metal. There remains many if (running_on_xen) in ia64
specific codes. This patch replaces running_on_xen with is_running_on_xen()
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Tue, 30 May 2006 16:30:12 +0000 (10:30 -0600)]
[IA64] add missing END(xen_bsw1)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Tue, 30 May 2006 16:28:59 +0000 (10:28 -0600)]
[IA64] VTI: Optimize thash vtlb algorithm
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
awilliam@xenbuild.aw [Tue, 30 May 2006 14:46:21 +0000 (08:46 -0600)]
[IA64] VTI: simple format cleanup
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 12:29:29 +0000 (13:29 +0100)]
Define halt() and safe_halt() properly for Linux-on-Xen. Remove duplicated
code for initial bringup of secondary VCPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 11:37:49 +0000 (12:37 +0100)]
Make perfc_valuea actually return the value it reads.
Signed-off-by: David Lively <dlively@virtualiron.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 11:32:07 +0000 (12:32 +0100)]
[HVM][AMD] Support HVM SMP guests on AMD Pacifica hardware (svm platform).
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 11:30:47 +0000 (12:30 +0100)]
[HVM] Fix a bug in the emulation of the xchg instruction.
This bug has prevented us from booting fully virtualized SMP guests
that write to the APIC using the xchg instruction (when
CONFIG_X86_GOOD_APIC is not set). On 32 bit platforms, sles 10 kernels
are built without CONFIG_x86_GOOD_APIC not set and hence we have had
problems booting fully virtualized SMP sles 10 guests.
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 11:28:46 +0000 (12:28 +0100)]
[BALLOON] Remove the static lower bound on memory target from balloon driver.
Experimentation an discussion on xen-devel concludes that a dynamic method
for determining safe balloon size will be required.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 30 May 2006 10:44:23 +0000 (11:44 +0100)]
Fix the support for PAE pgdirs above 4GB that was introduced in
changeset 10173:
954f4dea9da6336aaa35d0706aed55fde7909644.
Signed-off-by: Keir Fraser <keir@xensource.com>
ack@kneesa.uk.xensource.com [Sun, 28 May 2006 14:49:17 +0000 (15:49 +0100)]
Update docs for new credit scheduler and cleanup out of date scheduler stuff.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 28 May 2006 08:46:30 +0000 (09:46 +0100)]
Fix SMP boot for kernels without CONFIG_HOTPLUG_CPU.
The function cpu_is_allowed() appears that it should return a boolean
but in fact returns zero on success and an errno on failure. Thus
rename it to the more vague cpu_up_check(), in line with its return
value and thge fact it has unspecified side effects.
Fix the macro definition of cpu_up_check() when building non-hotplug
kernel to return zero rather than one (which always failed secondary
cpu bringup!).
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 27 May 2006 09:13:27 +0000 (10:13 +0100)]
Rename csched -> sched_credit/sched-credit in control plane.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Fri, 26 May 2006 19:41:49 +0000 (13:41 -0600)]
merge with xen-unstable.hg
kaf24@firebug.cl.cam.ac.uk [Fri, 26 May 2006 16:22:30 +0000 (17:22 +0100)]
[PAE] Allow pgdirs above 4GB for paravirt guests.
**NOTE**: This obviates the need for lowmem_emergency_pool.
Unpriv guests no longer need to be able to allocate memory
below 4GB for PAE PDPTs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 26 May 2006 12:53:49 +0000 (13:53 +0100)]
Remove bogus inline asm of unused function memchr().
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 26 May 2006 12:49:29 +0000 (13:49 +0100)]
Cast to a signed type before negating if we really want the result to be negative.
From: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 26 May 2006 12:23:18 +0000 (13:23 +0100)]
[MINIOS] Allows the use of a C library without modifying Mini-OS source files.
From: John Ramsdell
Signed-off-by: Keir Fraser <keir@xensource.com>
Ian.Campbell@xensource.com [Fri, 26 May 2006 10:23:55 +0000 (11:23 +0100)]
Move include/asm-x86_64/e820.h to include/asm-x86_64/mach-xen/asm/e820.h
This fixes the native build.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
--HG--
rename : linux-2.6-xen-sparse/include/asm-x86_64/e820.h => linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/e820.h
ack@kneesa.uk.xensource.com [Fri, 26 May 2006 10:14:36 +0000 (11:14 +0100)]
New weighted fair-share CPU scheduler w/ automatic SMP load balancing
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 26 May 2006 08:44:29 +0000 (09:44 +0100)]
Fix cscope rule in .hgignore.
awilliam@xenbuild.aw [Thu, 25 May 2006 21:59:18 +0000 (15:59 -0600)]
[IA64] support FPSWA hypercall
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 21:57:44 +0000 (22:57 +0100)]
Remove net_driver_util module. Inline the one mac-parsing function
into the netfront and netback drivers. Take the opportunity to fix
the mac-parsing logic.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Thu, 25 May 2006 21:47:33 +0000 (15:47 -0600)]
[IA64] support FPSWA emulation
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
awilliam@xenbuild.aw [Thu, 25 May 2006 21:38:16 +0000 (15:38 -0600)]
[IA64] remove evtchn_ia64.c
Signed-off-by Kevin Tian <kevin.tian@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 20:41:04 +0000 (21:41 +0100)]
[XEND] Wait sufficient time for memory to balloon out before creating a new domain.
On the ES7000 when Dom0 boots up with all of system memory and you try
to bring up a DomU with more than 2GB of memory, xend times out before
the memory is freed causing the domain not to be created. This patch
increases the timeout depending on the amount of memory that needs to be
freed. It also places a cap on the sleep time so that it does not grow
without a limit. This fixes bug# 650
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D650
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 20:24:47 +0000 (21:24 +0100)]
Allow compat hypercalls to be made via privcmd (to support older userspaces).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 20:18:55 +0000 (21:18 +0100)]
Fix VMEXIT tracing.
Signed-off-by: Bruce Rogers <brogers@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 15:00:36 +0000 (16:00 +0100)]
[HVM] Support multiple HVM time device models coming soon.
1: Adopt an abstract layer for periodic time on top of different
HV time device models like PIT, RTC and ACPI time.
2: Extract VMM knowledge from PIT DM code and keep close with
qemu for easy maintain in future.
3: Use guest time (TSC) to drive PIT CLK that helps us to remove
a lot of extra logic previously introduced to convert from host time to
guest time.
4: Some cleanup for SMP code like move cache_tsc_offset to per VP.
Signed-off-by: Eddie Dong <eddie.dong@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 15:00:09 +0000 (16:00 +0100)]
Fix x86/64 build after previous changeset.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 14:55:07 +0000 (15:55 +0100)]
Remove redundant test in grant-table interface code.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 14:52:38 +0000 (15:52 +0100)]
Change the x86_emulate() interface to pack all context arguments
into a context structure. This context can then be handed to
callback operations.
Based on an original patch from Mats Petersson <mats.petersson@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:54:43 +0000 (14:54 +0100)]
[BALLOON] Do not allow target to be set below two percent of maximum
memory size.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:47:23 +0000 (14:47 +0100)]
Do not include asm/fixmap.h directly from non-arch-specific Linux files.
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:45:40 +0000 (14:45 +0100)]
[XEND] Remember cpu-pinning information across guest restarts.
Signed-off-by: Qing He <qing.he@intel.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:42:07 +0000 (14:42 +0100)]
Fix xc_tbuf.c indentation and stop turning failure to change
trace-buffer size into a fatal error.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:37:55 +0000 (14:37 +0100)]
Ensure trace-buffer size is set back to zero if trace buffers can't be allocated.
Signed-off-by: Atsushi Sakai <sakaia@jp.fujitsu.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:29:21 +0000 (14:29 +0100)]
[NET] front: Use netif_carrier to model backend-connection state.
The tristate backend_state really only needs to be a boolean. In fact
other virtualisation network drivers such as the s390 already model this
using netif_carrier_*. So by converting backend_state over to the net
carrier flag we can tap into existing infrastructure rather than creating
new ones.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
kaf24@firebug.cl.cam.ac.uk [Thu, 25 May 2006 13:15:49 +0000 (14:15 +0100)]
Separate xenbusstate enumeration from typedef. Avoid using the typedef
in Linux coe as it is consider bad coding style.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Wed, 24 May 2006 22:44:20 +0000 (16:44 -0600)]
[IA64] fix AFLAGS again
"AFLAGS = -nostdinc $CPPFLAGS" is removed
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
cl349@firebug.cl.cam.ac.uk [Wed, 24 May 2006 18:41:47 +0000 (19:41 +0100)]
Fix IDE CD-drive PIO mode.
CD drives in PIO mode don't work under Xen because of a change in Linux
between 2.6.12 and 2.6.16, as a result of the following thread:
http://lists.parisc-linux.org/pipermail/parisc-linux/2005-August/027197.html
The change breaks systems which have highmem and a swiotlb because the
ide-cd driver doesn't use the swiotlb, resulting in read/writes to/from
highmem pages in PIO mode not working any longer. Xen kernels usually have
both highmem and a swiotlb.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
awilliam@xenbuild.aw [Wed, 24 May 2006 17:04:33 +0000 (11:04 -0600)]
[IA64] acpi read-only mapping
implemented dom0 acpi read-only mapping
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 24 May 2006 16:59:28 +0000 (10:59 -0600)]
[IA64] GNTMAP_readonly support linux part
add read only mapping support.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 24 May 2006 16:56:47 +0000 (10:56 -0600)]
[IA64] GNTMAP_readonly support xen part
add grant table GNTMAP_readonly support.
introduce ASSIGN_readonly flags for read only page assignment to
pseudo physical address space.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 24 May 2006 16:39:55 +0000 (10:39 -0600)]
[IA64] support DOMID_XEN and DOMID_IO of foreign domain page mapping
support of foreign domain page mapping of DOMID_XEN and DOMID_IO.
This patch is needed for xentrace and xenmon.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 24 May 2006 15:59:04 +0000 (09:59 -0600)]
[IA64] fix dirty_bit in xenivt.S
fix dirty_bit in linux-2.6-xen-sparse/arch/ia64/xen/xenivt.S
there was itc.d left which wasn't para-virtualized.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
awilliam@xenbuild.aw [Wed, 24 May 2006 14:56:52 +0000 (08:56 -0600)]
[IA64] remove unused audio driver from buildconfigs
There'll be better way to prevent bogus driver to register with
an empty irq line. But for now, disable in buildconfig is easier.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
awilliam@xenbuild.aw [Wed, 24 May 2006 14:50:34 +0000 (08:50 -0600)]
[IA64] swap XEN_HYPER_ITC_D and XEN_HYPER_ITC_I
Signed-off-by Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
awilliam@xenbuild.aw [Wed, 24 May 2006 14:48:21 +0000 (08:48 -0600)]
[IA64] Add ptc.l emulation
This patch adds support for ptc.l emulation for xenlinux.
In 2.6.16 kernel it flush_tlb_range will call global_tlb_purge
directly, so ptc.l shouldn't be used when CONFIG_SMP enable.
But in order to enhance performance (maybe), 2.6.17 kernel in
smp environment will do mm check first. If mm is current->active_mm
and the mm (corresponding process) just runs on the local processor,
kernel only needs to do ptc.l at local processor instead of global purge.
So ptc.l emulation is necessary for 2.6.17 kernel.
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 13:49:24 +0000 (14:49 +0100)]
Remove unnecessary x86-specific mapping code from privcmd interface.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 13:24:57 +0000 (14:24 +0100)]
[XENSTORE] Make use of /proc/xen/xsd_{port,kva} private to the Linux implementation.
Signed-off-by: John Levon <john.levon@sun.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 13:12:40 +0000 (14:12 +0100)]
[PTRACE] Fix ptrace for hvm guests.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 11:01:25 +0000 (12:01 +0100)]
Event-channel driver: Use for_each_possible_cpu instead
of for_each_cpu , or statically initialize data when possible.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 10:57:37 +0000 (11:57 +0100)]
Fix kcons_write and kcons_write_dom0 CodingStyle.
Use roundup_pow_of_two().
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 10:56:40 +0000 (11:56 +0100)]
Use DEFINE_SPINLOCK in Linux drivers, conforming to coding style.
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
kaf24@firebug.cl.cam.ac.uk [Wed, 24 May 2006 10:52:25 +0000 (11:52 +0100)]
Remove broken inline-asm string functions from Xen/x86. The
generic implementations in string.c are quite sufficient.
Signed-off-by: Keir Fraser <keir@xensource.com>
awilliam@xenbuild.aw [Tue, 23 May 2006 23:05:27 +0000 (17:05 -0600)]
[IA64] work around ENOSYS vs EINVAL in ioremap
We should not panic the domain for an EINVAL return from the ioremap
hyerpcall. This was only meant for ENOSYS. Long term this is probably
not the best place for this kind of sanity checking.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
awilliam@xenbuild.aw [Tue, 23 May 2006 21:10:27 +0000 (15:10 -0600)]
[IA64] Add -rc support to sparse-merge
Signed-off-by: Aron Griffis <aron@hp.com>
awilliam@xenbuild.aw [Tue, 23 May 2006 21:09:21 +0000 (15:09 -0600)]
[IA64] make xenLinux/ia64 privcmd mmap not to use dom0 memory
xenLinux/ia64 privcmd mmap uses pseudo physical address space.
it used alloc_pages() to allocate the space.
It wastes dom0 memory and sometimes several hundreds megabytes is
allocated depending on domU memory size.
With this patch xenLinux/ia64 trys to find the region which can be
used safely and uses the reasion.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
emellor@leeni.uk.xensource.com [Tue, 23 May 2006 15:23:10 +0000 (16:23 +0100)]
Allow a guest to determine its VM UUID.
Use xenstore-read $(xenstore-read vm)/uuid.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
awilliam@xenbuild.aw [Tue, 23 May 2006 15:17:57 +0000 (09:17 -0600)]
[IA64] Final patch to make evtchn fully working for xen/ia64
OK, this is the last one of patch sets, which enables xen/ia64 to work
on event channel mechanism fully. Now user may observe /proc/interrupts
of dom0 as:
CPU0
34: 12 Phys-irq ide0
39: 0 Phys-irq acpi
45: 322 Phys-irq serial
48: 115006 Phys-irq peth0
49: 16269 Phys-irq ioc0
50: 31 Phys-irq ioc1
51: 2 Phys-irq ehci_hcd:usb1
52: 0 Phys-irq uhci_hcd:usb2
53: 55 Phys-irq uhci_hcd:usb3
256: 0 Dynamic-irq RESCHED0
257: 0 Dynamic-irq IPI0
258: 44572 Dynamic-irq timer0
259: 2316 Dynamic-irq xenbus
260: 8304 Dynamic-irq blkif-backend
261: 25947 Dynamic-irq vif3.0
ERR: 0
Based on this patch, dom0's performance is not affected, while domU's
network output is seen with several percents increase. More important,
now xen/ia64 can progress a base step towards driver domain support!
Signed-off-by Kevin Tian <kevin.tian@intel.com>
emellor@leeni.uk.xensource.com [Tue, 23 May 2006 15:17:28 +0000 (16:17 +0100)]
Fix log message written when xenstored corrupts its store.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@leeni.uk.xensource.com [Tue, 23 May 2006 15:14:49 +0000 (16:14 +0100)]
Added get_permissions implementation.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
emellor@leeni.uk.xensource.com [Tue, 23 May 2006 15:14:03 +0000 (16:14 +0100)]
Fix xspy_get_permissions -- you can't increment the perms pointer when
iterating and expect to be able to free that pointer afterwards.
Signed-off-by: Ewan Mellor <ewan@xensource.com>